<include file="Public:header" />
        <script type="text/javascript" src="../Public/js/Validform.js"></script>
		<script type="text/javascript" src="../Public/js/JTree.js"></script>
		<script type="text/javascript" src="../Public/js/MultiSelect.js"></script>
		<div class="bread_nav"><span>模块授权</span> [ <A HREF="__URL__">返回列表</A> ]</div>
		<FORM METHOD="POST" name="form1" id="form1" ACTION="__URL__/setModule/">
            <TABLE class="select list" style="width:310px;margin:0;" align="center">
                <TR>
					<Th class="tCenter">
						<A HREF="__URL__/app/groupId/{$Think.get.groupId}/appId/{$Think.get.appId}/moduleId/{$Think.get.moduleId}/actionId/{$Think.get.actionId}">应用授权</A> | 
						模块授权 | 
						<A HREF="__URL__/action/groupId/{$Think.get.groupId}/appId/{$Think.get.appId}/moduleId/{$Think.get.moduleId}/actionId/{$Think.get.actionId}">操作授权</A> | 
						<a href="__URL__/area/groupId/{$Think.get.groupId}/appId/{$Think.get.appId}/moduleId/{$Think.get.moduleId}/actionId/{$Think.get.actionId}">局部授权</a>
                    </Th>
				</TR>
                <TR><Td class="tLeft">当前分组：<html:select name="groupId" style="medium" change="location.href = '__ACTION__/groupId/'+this.options[this.selectedIndex].value;" first="选择组" options="groupList" selected="selectGroupId" />
                </Td></TR>
                <TR>
                    <Td class="tLeft">
                        当前应用：<html:select name="appId"  style="medium" change="location.href = '__ACTION__/groupId/{$Think.get.groupId}/appId/'+this.options[this.selectedIndex].value;" first="选择应用" options="appList" selected="selectAppId" />
                    </Td>
                </TR>
                <TR><TD >
                <html:select id="groupModuleId" name="groupModuleId[]" options="moduleList" selected="groupModuleList"  multiple="true" style="multiSelect" size="15" />
                </td>
                </tr>
                <tr>
                    <td  class="row tCenter" >
                        <input type="button" click="allSelect()" value="全 选" />&nbsp;
                        <input type="button" click="InverSelect()" value="反 选" />&nbsp;
                        <input type="button" click="allUnSelect()" value="全 否" />&nbsp;
                        <input type="submit" value="保 存" />&nbsp;
                        <!-- <input TYPE="hidden" NAME="groupId" VALUE="{$Think.get.id}" > -->
                        <input TYPE="hidden" NAME="module" value="Node">
                        <input TYPE="hidden" name="ajax" VALUE="1">
                    </td>
                </tr>
            </TABLE>
        </FORM>
		<script type="text/javascript">
		$(function(){
            $('#form1').Validform({tiptype:3,postonce:true,ajaxPost:true});
		})
		</script>
<include file="Public:footer" />